package cc.mcggdd.leah.boot.stock.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import cc.mcggdd.leah.boot.stock.model.entity.StockTransfer;
import cc.mcggdd.leah.boot.stock.model.form.StockTransferForm;

/**
 * 银证转账对象转换器
 *
 * @author zifeng
 * @since 2025-02-07 10:03
 */
@Mapper(componentModel = "spring")
public interface StockTransferConverter{

    StockTransferForm toForm(StockTransfer entity);

    StockTransfer toEntity(StockTransferForm formData);
}